package com.wanmait.meteor.mapper;

import com.wanmait.meteor.pojo.Collect;
import org.apache.ibatis.annotations.Param;

public interface CollectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Collect record);

    int insertSelective(Collect record);

    Collect selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Collect record);

    int updateByPrimaryKey(Collect record);

    Boolean selectIsCollect(@Param("meetId") Integer meetId,@Param("userinfoId") Integer userinfoId);

    void toCollect(@Param("meetId") Integer meetId,@Param("userinfoId") Integer userinfoId);

    void delCollect(@Param("meetId") Integer meetId,@Param("userinfoId") Integer userinfoId);

}